package org.travel.app.entity.user;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author nmm
 * @date 2024-12-2024/12/29
 * @deriction 用于记录和更新前端的用户中心的统计数
 */
@Data
@NoArgsConstructor
public class UserCenterMsg {
    private  Integer points;
    private Integer startNum;
    private Integer orderNum;
    private Integer ticketNum;
    private Integer browseNum;

    public UserCenterMsg(Integer points, Integer orderNum, Integer ticketNum,Integer startNum) {
        this.points = points;
        this.orderNum = orderNum;
        this.ticketNum = ticketNum;
        this.startNum=startNum;
    }
}